home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / msysjour / vol05 / 05 / wintro2 / stock.rc < prev   
Text File  |  1990-09-01  |  3KB  |  88 lines

  1. #include "windows.h"
  2. #include "stock.h"
  3.  
  4. ID_STOCK ICON   stock.ico
  5. ID_GRAPH ICON   graph.ico
  6.  
  7. StockAccelerators ACCELERATORS
  8. BEGIN
  9.   "^A", ID_TICK_ADD
  10.   "^C", ID_TICK_CHANGE
  11.   "^O", ID_OPEN
  12.   "^P", ID_PRINT
  13.   "^S", ID_SAVE
  14. END
  15.  
  16.  
  17. StockMenu MENU
  18. BEGIN
  19.   POPUP "&File"
  20.   BEGIN
  21.     MENUITEM  "&New...",           ID_NEW
  22.     MENUITEM  "&Open...CTRL+O",    ID_OPEN
  23.     MENUITEM  "&Save...CTRL+S",    ID_SAVE
  24.     MENUITEM  "&Close",            ID_CLOSE
  25.     MENUITEM  "&Print  CTRL+P",    ID_PRINT
  26.     MENUITEM  "E&xit",             ID_EXIT
  27.     MENUITEM  SEPARATOR
  28.     MENUITEM  "&Mapping modes...", ID_MAP
  29.   END
  30.  
  31.   POPUP "&Edit"
  32.   BEGIN
  33.     MENUITEM "&Add tick...   CTRL+A",  ID_TICK_ADD
  34.     MENUITEM "&Change tick...CTRL+C",  ID_TICK_CHANGE
  35.   END
  36.  
  37.   POPUP "&Graph"
  38.   BEGIN
  39.     MENUITEM "&Price",           ID_GRAPH_PRICE
  40.     MENUITEM "&Volume",          ID_GRAPH_VOLUME
  41.     MENUITEM "&Zoom",            ID_GRAPH_ZOOM
  42.     MENUITEM "&Options...",      ID_GRAPH_OPTIONS
  43.     MENUITEM "&Colors...",       ID_GRAPH_COLORS
  44.     POPUP    "&Grid"
  45.     BEGIN
  46.       MENUITEM "&Horizontal",    ID_GRAPH_GRID_HORZ
  47.       MENUITEM "&Vertical",      ID_GRAPH_GRID_VERT
  48.     END
  49.   END
  50.  
  51.   POPUP "&Window"
  52.   BEGIN
  53.    MENUITEM "&Tile",            ID_WINDOW_TILE
  54.    MENUITEM "&Cascade",         ID_WINDOW_CASCADE
  55.    MENUITEM "Arrange &Icons",   ID_WINDOW_ICONS
  56.    MENUITEM "Close &All",       ID_WINDOW_CLOSEALL
  57.   END
  58.  
  59.   POPUP "\a&F1=Help"
  60.   BEGIN
  61.     MENUITEM  "&About Stock...",  ID_ABOUT
  62.   END
  63. END
  64.  
  65. STRINGTABLE
  66. BEGIN
  67.   ID_NEW,              "Create a new database"
  68.   ID_OPEN,             "Open an existing stock file"
  69.   ID_SAVE,             "Save the current stock file"
  70.   ID_CLOSE,            "Close the current stock file"
  71.   ID_PRINT,            "Print the current chart"
  72.   ID_TICK_ADD,         "Add a tick to a stock"
  73.   ID_TICK_CHANGE,      "Edit the ticks"
  74.   ID_GRAPH_PRICE,      "Display a graph of the price"
  75.   ID_GRAPH_VOLUME,     "Display a graph of the volume"
  76.   ID_GRAPH_ZOOM,       "Zoom the active graph"
  77.   ID_GRAPH_COLORS,     "Change the graph's colors"
  78.   ID_GRAPH_GRID_HORZ,  "Add/Remove horizontal grid lines"
  79.   ID_GRAPH_GRID_VERT,  "Add/Remove vertical grid lines"
  80.   ID_ABOUT,            "Display information about this application"
  81.   ID_EXIT,             "Exit the application"
  82.   1,                   "New, Open, Close, Print, Exit"
  83.   2,                   "Add and modify ticks"
  84.   3,                   "Manipulate stock charts"
  85.   4,                   "Arrange windows"
  86.   5,                   "Help on the MSJ Stock program"
  87. END
  88.